package com.cmdi.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cmdi.domain.SysUser;
import com.cmdi.mapper.SysUserMapper;
import com.cmdi.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements SysUserService{
    @Autowired
    private SysUserMapper sysUserMapper;
    @Override
    public SysUser getUserByUserName(String userName) {
        return sysUserMapper.getUserByUserName(userName);
    }
}
